package com.jogger.newprint;

import android.view.View;

import com.jogger.newprint.base.BaseActivity;
import com.jogger.newprint.ui.DiskPrintActivity;
import com.jogger.newprint.ui.RePrintActivity;

import butterknife.OnClick;

public class MainActivity extends BaseActivity {

    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }

    @OnClick({R.id.btn_disk_print, R.id.btn_re_print})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_disk_print:
                startNewActivity(DiskPrintActivity.class);
                break;
            case R.id.btn_re_print:
                startNewActivity(RePrintActivity.class);
                break;
        }
    }
}
